Monitorix : Install
2015/02/22 |
Install Monitorix which is a light weight system monitoring tool.
|
|
[1] | Install Monitorix. |
# install from EPEL [root@dlp ~]# yum --enablerepo=epel -y install monitorix
|
[2] | Configure Monitorix. |
[root@dlp ~]#
vi /etc/monitorix/monitorix.conf # line 6: change to any title you like title = Monitorix
# line 7: change to your own hostname hostname = dlp.srv.world
# line 8: backgroud color of admin site theme_color = white
# line 12: change network units to bps (default is Bytes per/sec) netstats_in_bps = y
<httpd_builtin>
[root@dlp ~]# enabled = y host = port = 8080 user = nobody group = nobody log_file = /var/log/monitorix-httpd # set permittion for admin site hosts_deny = all hosts_allow = 10.0.0.0/24 /etc/rc.d/init.d/monitorix start [ OK ] monitorix: [ OK ] [root@dlp ~]# chkconfig monitorix on
|
[3] | Access to the "http://(Monitorix server's hostname or IP address):8080/monitorix/" from a client which is in the network allowed in config. Then, Monitorix admin site is displayed like follows. Click "OK" to see graphs. |
[4] | Graphs are displayed. |